home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM 1995 Fall / PD-ROM F95.toast / Telecom / Internet / Internet A-M / MacHTTP 1.2.3 ƒ / MacHTTP.config < prev    next >
Encoding:
Text File  |  1994-01-18  |  2.7 KB  |  74 lines  |  [TEXT/ttxt]

  1. #MacHTTP Configuration file, v. 1.2.3
  2.  
  3. #The format of this file is free form, with a few exceptions. Lines not
  4. #starting with a keyword are ignored. There can only be 10 total suffix
  5. #definitions (i.e., TEXT, BINARY, and SCRIPT commands). Also, security
  6. #entries (ALLOW, DENY) are evaluated in the order specified in the config file.
  7. #Note, all entries are converted to upper case by MacHTTP, so the config file isn't
  8. #case sensitive.
  9.  
  10. #The following line defines the default file type if a suffix match isn't found.
  11. DEFAULT TEXT
  12.  
  13. #These lines define the suffix file type mappings.
  14. #There is a maximum of 20 suffix definitions. Supplying less than
  15. #this will cause MacHTTP to use internal defaults for the undefined remainder.
  16. TEXT    .HTML
  17. BINARY  .GIF
  18. SCRIPT  .SCRIPT
  19. APPL    .EXE
  20. BINARY  .PICT
  21. BINARY  .BIN
  22. TEXT    .TEXT
  23. TEXT    .TXT
  24. BINARY  .JPG
  25. BINARY  .JPEG
  26. BINARY  .MOV
  27. BINARY  .MOOV
  28.  
  29. #The following lines specify where to find HTML files for error messages, the
  30. #default home (or index) page, the name of the log file, and the message
  31. #returned for security violations.
  32. ERROR   :Error.html
  33. INDEX   :Default.html
  34. LOG     :MacHTTP.log
  35. NOACCESS :NoAccess.html
  36.  
  37. #Sets the timeout for inactive connections to 60 seconds
  38. TIMEOUT 60
  39.  
  40. #Sets the max number of simultaneous users to 8.
  41. #The minimum value is 3, the maximum is 1000 (!!!)
  42. #For larger values, you should monitor memory usage and increase
  43. #MacHTTP's memory allocation in the Finder accordingly.
  44. MAXUSERS 8
  45.  
  46. #Sets the number of "listens" MacHTTP performs simultaneously. For
  47. #busy servers with clients that report "Unable to connect" errors,
  48. #this number should be increased. If the "Listening" statistic in
  49. #the status window ever drops to 1, some clients may miss connecting.
  50. #Default is 5, minimum is 3, maximum is 50.
  51. MAXLISTENS 3
  52.  
  53. #A single copy of MacHTTP only listens on a single port for multiple
  54. #connections. The HTTP standard port is 80. Users may define any port
  55. #they'd like to listen on, but internet standards say that ports
  56. #numbered 1024 and below are reserved for "Well known services" that
  57. #are pre-defined. That means if you change MacHTTP's port from 80,
  58. #you should pick a number greater than 1024 to avoid conflicting with
  59. #things like telnet, gopher, ftp, nfs, pop, etc. that all have ports
  60. #assigned below 1024.
  61. PORT 80
  62.  
  63. #Configure access permissions. There is an implied "DENY *" that is evaluated 
  64. #prior to any user security specifications if present. Otherwise, the default is
  65. #"ALLOW *". End complete host IP addresses with a "." for an exact match. Otherwise
  66. #a statement like "ALLOW 129.106.3" would match hosts 129.106.30.*, 129.106.31.*,
  67. #129.106.32.*, etc.
  68. #ALLOW 129.106.3.
  69. #DENY 129.106.3.1.
  70.  
  71. #If the following line is uncommented, MacHTTP will hide the status window when
  72. # it is in the background.
  73. #HIDEWINDOW
  74.